﻿using System;

namespace HslCommunication.Profinet.AllenBradley
{
	/// <summary>
	/// AB PLC的数据
	/// </summary>
	// Token: 0x020000B7 RID: 183
	public class AllenBradleyItemValue
	{
		/// <summary>
		/// 真实的数组缓存
		/// </summary>
		// Token: 0x170001FE RID: 510
		// (get) Token: 0x06000D49 RID: 3401 RVA: 0x0004F1EC File Offset: 0x0004D3EC
		// (set) Token: 0x06000D4A RID: 3402 RVA: 0x0004F1F4 File Offset: 0x0004D3F4
		public byte[] Buffer { get; set; }

		/// <summary>
		/// 是否是数组的数据
		/// </summary>
		// Token: 0x170001FF RID: 511
		// (get) Token: 0x06000D4B RID: 3403 RVA: 0x0004F1FD File Offset: 0x0004D3FD
		// (set) Token: 0x06000D4C RID: 3404 RVA: 0x0004F205 File Offset: 0x0004D405
		public bool IsArray { get; set; }

		/// <summary>
		/// 单个单位的数据长度信息
		/// </summary>
		// Token: 0x17000200 RID: 512
		// (get) Token: 0x06000D4D RID: 3405 RVA: 0x0004F20E File Offset: 0x0004D40E
		// (set) Token: 0x06000D4E RID: 3406 RVA: 0x0004F216 File Offset: 0x0004D416
		public int TypeLength { get; set; } = 1;
	}
}
